setPlaceholderBehaviorEnabled

abstract fun setPlaceholderBehaviorEnabled(block: DesignBlock, enabled: Boolean)

Enable or disable the placeholder behavior for a block.

Parameters

block

the block whose placeholder behavior should be enabled or disabled.

enabled

Whether the placeholder behavior should be enabled or disabled.